package com.njtoyo.taxi.admin.mapper.master.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverMarkScoreRuleCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DDriverMarkScoreRule对象", description = "阳光分配置")
@Accessors(chain = true)
@TableName(value = "driver_mark_score_rule")
public class DriverMarkScoreRule implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 类型 0:driverCancel[司机有责取消],1:rideMarking[乘客评价],2:customerComplaint[普通投诉],3:tripBasic[出行基础分],4:tripPeek[出行高峰分],5:tripDiligent[出行勤勉分],
     * 6:tripAdvanced[进阶分],7:secureComplaint[安全投诉分],8:platformRule[平台规则],9:platformTask[平台任务分]
     */
    private DriverMarkScoreRuleCategory category;


    private String description;


    private String detail;


    private Date createdAt;
}
